package fr.grassaud.hmvc.vaadin.home;

import fr.grassaud.hmvc.component.Model;


@Model(controlledBy=HomeController.class)
public class HomeModel {
    
    private String value = "String from model";
    
    private int count = 0;

    public String getLabel() {
	return value;
    }
    
    public void setLabel() {
	count++;
	this.value = "changed " + count;
    }
}
